package club.janna.rpcdemo.server.register;

/**
 * 服务注册
 */
public interface ServiceRegister {
    /**
     * 注册
     * @param serviceName
     * @param bean
     * @return
     */
    Object register(String serviceName, Object bean);
    /**
     * 获取服务
     * @param serviceName
     * @return
     */
    Object getBean(String serviceName);
}
